package com.haizhi.crm.biz.service.impl;

import com.haizhi.crm.biz.dao.MessageSourceDao;
import com.haizhi.crm.biz.model.MessageSourceDo;
import com.haizhi.crm.biz.model.MessageSourceVo;
import com.haizhi.crm.biz.service.MessageSourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * Created by wangshan on 2018/5/16.
 */
@Service
public class MessageSourceServiceImpl implements MessageSourceService {

    @Autowired
    private MessageSourceDao messageSourceDao;

    @Override
    public void save(MessageSourceVo messageSourceVo) {

    }

    @Override
    public void delete(long id) {

    }

    @Override
    public void deleteAll() {

    }

    @Override
    public List<MessageSourceDo> query() {
        return messageSourceDao.findAll();
    }

    @Override
    public void updatePullTime(Date date, Long id) {

    }
}
